package com.xxl.job.admin.dao;

import java.util.List;

import com.ibm.risk.common.vo.PagedQueryResult;
import com.xxl.job.admin.core.model.JobInfo;


/**
 * job info
 * @author xuxueli 2016-1-12 18:03:45
 */
public interface IJobInfoDao {

	public PagedQueryResult<JobInfo> pageList(int offset, int pagesize, Long jobGroup, String executorHandler);
	
	public int save(JobInfo info);

	public JobInfo loadById(Long id);
	
	public int update(JobInfo item);
	
	public int delete(Long id);

	public List<JobInfo> getJobsByGroup(Long jobGroup);

	public int findAllCount();

}
